package com.eastfair.venueservice.vo;

import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.eastfair.venueservice.enumeration.ExhibitionSettlementInvoicingCostTypeEnum;
import com.eastfair.venueservice.enumeration.ExhibitionSettlementInvoicingInvoiceTypeEnum;
import com.eastfair.venueservice.enumeration.ExhibitionSettlementInvoicingStatusEnum;
import com.eastfair.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 结算开票记录
 * </p>
 *
 * @author linan
 * @since 2023-02-01
 */
@Data
@ApiModel(value = "ExhibitionSettlementInvoicingVO", description = "结算开票记录")
public class ExhibitionSettlementInvoicingVO extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 结算单号
     */
    @ApiModelProperty(value = "结算单号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "结算单号长度不能超过255")
    private String settlementNo;
    /**
     * 开票金额
     */
    @ApiModelProperty(value = "开票金额")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal invoicedAmount;
    /**
     * 开票类型 #{VAT_PAPER_SPECIAL_INVOICE:增值税纸质专用发票;VAT_PAPER_ORDINARY_INVOICE:增值税纸质普通发票;VAT_ELECTRONIC_SPECIAL_INVOICE:增值税电子专用发票;VAT_ELECTRONIC_ORDINARY_INVOICE:增值税纸质专用发票;}
     */
    @ApiModelProperty(value = "开票类型 #{VAT_PAPER_SPECIAL_INVOICE:增值税纸质专用发票;VAT_PAPER_ORDINARY_INVOICE:增值税纸质普通发票;VAT_ELECTRONIC_SPECIAL_INVOICE:增值税电子专用发票;VAT_ELECTRONIC_ORDINARY_INVOICE:增值税纸质专用发票;}")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private ExhibitionSettlementInvoicingInvoiceTypeEnum invoiceType;
    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "单位名称长度不能超过255")
    private String companyName;
    /**
     * 纳税人识别号
     */
    @ApiModelProperty(value = "纳税人识别号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "纳税人识别号长度不能超过255")
    private String taxpayerIdNo;
    /**
     * 单位地址
     */
    @ApiModelProperty(value = "单位地址")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "单位地址长度不能超过255")
    private String companyAddress;
    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "电话长度不能超过255")
    private String tel;
    /**
     * 开户行
     */
    @ApiModelProperty(value = "开户行")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "开户行长度不能超过255")
    private String bankName;
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "账号长度不能超过255")
    private String bankAccountNum;
    /**
     * 申请人联系方式
     */
    @ApiModelProperty(value = "申请人联系方式")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "申请人联系方式长度不能超过255")
    private String phone;
    /**
     * 邮箱地址
     */
    @ApiModelProperty(value = "邮箱地址")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "邮箱地址长度不能超过255")
    private String mail;
    /**
     * 开票状态 #{NOT_APPLIED:未申请;REQUESTED:已申请;INVOICED:已开票;REJECTED:被驳回}
     */
    @ApiModelProperty(value = "开票状态 #{NOT_APPLIED:未申请;REQUESTED:已申请;INVOICED:已开票;REJECTED:被驳回}")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private ExhibitionSettlementInvoicingStatusEnum invoicingStatus;
    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人")
    @Size(max = 255, message = "申请人长度不能超过255")
    private String applicationName;
    /**
     * 费用类型 #{COST_TYPE_ONE:*会展服务*展览服务费;COST_TYPE_TWO:加班费;COST_TYPE_THREE:展具租赁费;COST_TYPE_FOUR:水、电、气使用费}
     */
    @ApiModelProperty(value = "费用类型 #{COST_TYPE_ONE:*会展服务*展览服务费;COST_TYPE_TWO:加班费;COST_TYPE_THREE:展具租赁费;COST_TYPE_FOUR:水、电、气使用费}")
    private ExhibitionSettlementInvoicingCostTypeEnum costType;
}
